<% form_tag search_profiles_path, :method => :get do -%>
<%= text_field_tag 'search[q]', (params[:search] && params[:search][:q] ? params[:search][:q] : 'Search for Reviews'), :id => 'search_q' %>
<%= submit_tag 'Go' %>
<%- end -%>